package com.appkubes.portal.admin.application.app.admin.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class AdminAddVO {

    @ApiModelProperty("管理员Key")
    String adminKey = "";
    @ApiModelProperty("用户名")
    @NotEmpty(message = "用户名不允许为空")
    String userName;

    @ApiModelProperty("密码")
    String password;

    @ApiModelProperty("状态:true: 启用, false： 禁用")
    Boolean enabled;
}
